//对手方回购
import config from '../../utils/config';
import apiCreator from '../../utils/apiCreator';

const api = apiCreator();

export default {
  //查询回购对手方列表
  queryRepurchaseCounterpartyList: (query) => api.post(`${config.interfaces.type5}instrument-server/counterpartyRegulation/getCounterpartyRegulationInfo`, query),
  //编辑 回购对手方
  saveCounterparty: (query) => api.post(`${config.interfaces.type5}instrument-server/counterpartyRegulation/saveOrUpdate`, query),
  //批量确认
  batchConfirm: (query) => api.post(`${config.interfaces.type5}instrument-server/counterpartyRegulation/confirm`, query),
  //删除
  deleteById: (query) => api.get(`${config.interfaces.type5}instrument-server/counterpartyRegulation/deleteById`, query),
};
